package com.etc.entity;

/**
 * 
 * @author 梁伟文
 *	请假审批实体类
 */
public class LeaveApproval{
	private int approvalId;
	private String leaveReasons;
	private String leaveTime;
	private String backTime;
	private int result;
	private Employees emp;
	
	public int getApprovalId() {
		return approvalId;
	}
	public void setApprovalId(int approvalId) {
		this.approvalId = approvalId;
	}
	public String getLeaveReasons() {
		return leaveReasons;
	}
	public void setLeaveReasons(String leaveReasons) {
		this.leaveReasons = leaveReasons;
	}
	public String getLeaveTime() {
		return leaveTime;
	}
	public void setLeaveTime(String leaveTime) {
		this.leaveTime = leaveTime;
	}
	public String getBackTime() {
		return backTime;
	}
	public void setBackTime(String backTime) {
		this.backTime = backTime;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	public Employees getEmp() {
		return emp;
	}
	public void setEmp(Employees emp) {
		this.emp = emp;
	}
	@Override
	public String toString() {
		return "LeaveApproval [ApprovalId=" + approvalId + ", leaveReasons=" + leaveReasons + ", leaveTime=" + leaveTime
				+ ", backTime=" + backTime + ", result=" + result + ", emp=" + emp + "]";
	}
	public LeaveApproval(int approvalId, String leaveReasons, String leaveTime, String backTime, int result,
			Employees emp) {
		super();
		this.approvalId = approvalId;
		this.leaveReasons = leaveReasons;
		this.leaveTime = leaveTime;
		this.backTime = backTime;
		this.result = result;
		this.emp = emp;
	}
	public LeaveApproval(String leaveReasons, String leaveTime, String backTime, int result, Employees emp) {
		super();
		this.leaveReasons = leaveReasons;
		this.leaveTime = leaveTime;
		this.backTime = backTime;
		this.result = result;
		this.emp = emp;
	}
	public LeaveApproval(Employees emp, String leaveReasons, String leaveTime, String backTime) {
		super();
		this.leaveReasons = leaveReasons;
		this.leaveTime = leaveTime;
		this.backTime = backTime;
		this.emp = emp;
	}
	public LeaveApproval() {
		
	}
	
	
	
}
